@import 'vant/lib/style/reset';
@import 'var';

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 10vw;
}

/* prettier-ignore */
html body {
  margin-right: auto;
  margin-left: auto;
  min-width: 320Px;
}

/* prettier-ignore */
body {
  border-width: 45Px;
  color: @text-color;
  background-color: @body-background;
  font-size: 0.3733333333rem;
  font-family: @base-font-family;
}

* {
  box-sizing: border-box;
}

a {
  color: @primary-color;
}

/* prettier-ignore */
@media screen and (max-width: 320Px) {
  html {
    font-size: 32Px;
  }
}

/* prettier-ignore */
html[data-content-max] body[data-content-max] {
  margin-right: auto;
  margin-left: auto;
  max-width: 540Px;
}

/* prettier-ignore */
@media screen and (min-width: 540Px) {
  html[data-content-max] {
    font-size: 54Px;
  }
}

/* prettier-ignore */
::-webkit-scrollbar {
  width: 6Px;
  height: 6Px;
}
/* prettier-ignore */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3Px;
  box-shadow: inset 0 0 5Px rgba(0, 0, 0, 0.12);
}
/* prettier-ignore */
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3Px;
  box-shadow: inset 0 0 10Px rgba(0, 0, 0, 0.2);
}

// 自定义图标
[class^='icon-'],
[class*=' icon-'] {
  font-family: 'iconfont' !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// vant reset

/* button */

.van-button--disabled {
  background-color: @gray-5 !important;
  border-color: @gray-5 !important;
}

.van-calendar__confirm {
  background-color: @primary-color !important;
  border-color: @primary-color !important;
}
